/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package rapc;

import jcolibri.cbrcore.Attribute;


/**
 *
 * @author Gianfranco
 */
public class descripteurSymbol implements descripteur{
    
    private String caseId;
    private String Nom;
    private String Explication;
    private String min;
    private String max;
    private String default_value;
    private double poids=1;
    
    @Override
    public String toString()
    {
        return caseId+";"+Nom+";"+Explication+";"+min+";"+max+";"+ default_value+";"+ poids+";"+"Symbol";
    }
    
    public String getDefault()
    {
        return this.default_value;        
    }
    
    public void setDefault(String d)
    {
        this.default_value = d;
    }
    
    @Override
    public String getNom()
    {
        return this.Nom;    
    }
    
    @Override
    public void setNom(String n)
    {
        this.Nom = n;
    }
    
    @Override
    public String getExplication()
    {
        return this.Explication;
    }
    
    @Override
    public void setExplication(String e)
    {
        this.Explication = e;
    }
    
    @Override
    public String getCaseId()
    {
        return this.caseId;
    }
    
    @Override
    public void setCaseId(String c)
    {
        this.caseId = c;
    }
    

    @Override
    public String getType()
    {
        return "boolean";   
    }
    
    public String getMin()
    {
        return this.min;
    }
    public void setMin(String m)
    {
        this.min = m;
    }
    
    public String getMax()
    {
        return this.max;
    }
    
    
    public void setMax(String m)
    {
        this.max = m;
    }

    public Attribute getIdAttribute() {
        return new Attribute("caseId", this.getClass());
    }

      public double getPoids() {
       return poids;
    }

    public void Poids(double n) {
        this.poids=n;
    }
    public float similariteDescripteur(descripteur get, descripteur get0,String a, String b)
    {
      return 0;
    }
}
